<?php use_javascript('show_pic') ?>
<?php slot('title', "相关照片 - $specailname - ") ?>
<!--导航-->
<div class="menu" id="topmenu">
  <ul>
    <li class="current"><?php echo link_to('首页', '@homepage'); ?></li>
    <li><?php echo link_to('艺海简介', '@html_about'); ?></li>
    <li><?php echo link_to('拍卖预告', '@article_category?catid=3'); ?></li>
    <li><?php echo link_to('艺海资讯', '@article'); ?></li>
    <li><?php echo link_to('精彩照片', '@album'); ?></li>
    <li><?php echo link_to('艺海视频', '@video'); ?></li>
    <li class="clear_bg"><?php echo link_to('业务联系', '@message'); ?></li>
  </ul>
</div>
<!--照片列表-->
<div class="ps_title"><h3>相关照片 - <?php echo $specailname; ?></h3></div>
<div class="ps_art clears">
  <div class="ps_show">
    <ul>
	<?php if(count($specialphotos)): ?>
	<?php foreach ($specialphotos as $i => $photo): ?>
      <li class="big_pic" id="picture-<?php echo $i ?>"><a href="<?php printf(sfConfig::get('app_path_special_photo'), $photo->getImage()) ?>"><img src="<?php printf(sfConfig::get('app_path_special_photo'), $photo->getImage()) ?>" alt="<?php echo $photo->getTitle(); ?>" /></a><span><?php echo $photo->getTitle(); ?></span></li>
	<?php endforeach; ?>
	<?php endif ?>
    </ul>
  </div>
<?php if(count($specialphotos)): ?>
  <div class="ps_list clears">
    <div class="btn_left btn_gy">左滚动</div>
    <div class="btn_right btn_gy">右滚动</div>
    <div class="hiddens">
        <ul class="pic_scroll">
		<?php foreach ($specialphotos as $i => $photo): ?>
          <li><a href="#picture-<?php echo $i ?>"><img src="<?php printf(sfConfig::get('app_path_special_photo_thumb'), $photo->getThumb()) ?>" width="120" height="80" alt="<?php echo $photo->getTitle(); ?>" /></a></li>
		<?php endforeach; ?>
        </ul>
    </div>
  </div>
<?php endif ?>
</div>
